
try:
    from SOAPpy import WSDL
except:
    import os
    import sys
    sys.path.append(os.path.join(os.path.dirname(__file__), 'contrib_soap'))
    
    import warnings
    warnings.simplefilter('ignore', DeprecationWarning)
    
    from SOAPpy import WSDL

def get_server():
    wsdl = 'http://soap.genome.jp/KEGG.wsdl'  
    server = WSDL.Proxy(wsdl) 
    return server

